import request from '@/utils/request'

export function getList (params) {
  return request({
    url: '/parkingLotManage/getParkingLotInfo',
    method: 'post',
    data: params
  })
}

export function update (params) {
  return request({
    url: '/parkingLotManage/updateParkingLot',
    method: 'post',
    data: params
  })
}

export function deleteRecord (id) {
  return request({
    url: '/parkingLotManage/deleteParkingLot?id=' + id,
    method: 'get'
  })
}

